<!--{include file="oui/public/header.html"}-->
<!--{include file="oui/public/navibar.html"}-->
<!--{include file="oui/public/sidebar.html"}-->
<div class="header">
    <div class="stats"><p class="stat"><!--旁注--></p></div>
    <h1 class="page-title"><!--{$data.meta.title}--></h1>
</div>
<!--优雅的分隔线-1-->
<ul class="breadcrumb">
    <li><a>控制面板</a><span class="divider">/</span></li>
    <li><a href=<!--{Route->MakeHyperLink Controller=':universal::listview'}-->>信息管理</a><span class="divider">/</span></li>
    <li class="active"><!--{$data.meta.title}--></li>
</ul>
<!--优雅的分隔线-2-->
<div class="container-fluid">
    <div class="row-fluid">
        <!--优雅的分隔线-->
        <div class="well">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#main" data-toggle="tab">基本信息</a></li>
                <li class=""><a href="#option1" data-toggle="tab">常规选项</a></li>
                <li class=""><a href="#option2" data-toggle="tab">高级选项</a></li>
            </ul>
            <form method="post" class="form" action=<!--{$data.meta.action}-->>
            <div id="myTabContent" class="tab-content">
                <div id="main" class="tab-pane active in">
                    <label>标题</label>
                    <input type="text" class="input-xlarge-1" id="title" name="title" autofocus="true" value=<!--{$data.base.title}-->>
                    <label>正文</label>
                    <textarea class="input-xlarge hidden" id="content" name="content" rows="10" xheditor="true" height="360" upImgUrl=<!--{Route->MakeHyperLink Controller=':common_xheditor::upload'}-->><!--{$data.base.content}--></textarea>
                </div>
                <div id="option1" class="tab-pane fade">
                    <label>作者</label>
                    <input type="text" class="input-xlarge-3" id="author" name="author" value=<!--{$data.base.author}-->>
                    <label>来源</label>
                    <input type="text" class="input-xlarge-3" id="source" name="source" value=<!--{$data.base.source}-->>
                    <label>标签</label>
                    <input type="text" class="input-xlarge-1" id="label" name="label" value=<!--{$data.base.label}-->>
                    <label>摘要</label>
                    <textarea class="textarea-xlarge-1" id="summary" name="summary"><!--{$data.base.summary}--></textarea>
                </div>
                <div id="option2" class="tab-pane fade">
                    <label>封面<span id="cover1-error-paniel" class="label label-important hidden"></span></label>
                    <input type="text" id="cover" name="cover" x-upload="true" x-data="cover1-error-paniel" x-upload-ui=<!--{Route->MakeHyperLink Controller=':common_upload'}--> value=<!--{$data.base.cover}-->>
                    <!--优雅的分隔线-->
                    <label>日期</label>
                    <div class="controls input-append date form_datetime" data-date="1979-09-16T05:25:07Z" data-link-field="datetime">
                        <input class="input-xlarge-3" type="text" id="datetime" name="datetime" size="16" readonly="readonly" x-date="true" value=<!--{$data.base.datetime|date_format:'%Y-%m-%d'}-->>
                        <span class="add-on hidden"><i class="icon-remove"></i></span>
                        <span class="add-on hidden"><i class="icon-th"></i></span>
                    </div>
                    <!--优雅的分隔线-->
                    <label>类别</label>
                    <input type="hidden" id="class-value" name="class-value" value=<!--{$data.base.class}-->>
                    <select class="select-xlarge-2" id="class" name="class">
                        <!--{foreach from=$data.class item=row}-->
                        <option value="<!--{$row.id}-->"><!--{$row.name}--></option>
                        <!--{/foreach}-->
                    </select>
                    <!--优雅的分隔线-->
                    <label>隐藏</label>
                    <input id="display-value" name="display-value" type="hidden" value=<!--{$data.base.display}-->>
                    <select class="select-xlarge-2" id="display" name="display">
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select>
                </div>
                <div id="default-data" class="hidden">
                    <input type="hidden" id="id" name="id" value=<!--{$data.base.id}-->>
                </div>
                <div class="btn-toolbar">
                    <button type="submit" class="btn btn-primary"><strong>提交</strong></button>
                </div>
            </div>
            </form>
        </div>
        <!--优雅的分隔线-3-->
        <script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.upload.js></script>
        <!--优雅的分隔线-->
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/JEAR/xheditor/xheditor-1.1.14-zh-cn.min.js></script>
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/JEAR/xheditor/xheditor.initialization.js></script>
        <!--优雅的分隔线-->
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/js/bootstrap-datetimepicker.min.js></script>
        <script src=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js></script>
        <link rel="stylesheet" href=<!--{$smarty.const.BUILD_PATH}-->/public/UIR/bootstrap/plugins/datetimepicker/css/bootstrap-datetimepicker.min.css>
        <script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.datetime-picker.js></script>
        <!--优雅的分隔线-->
        <script src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/news.form.js></script>
<!--{include file="oui/public/footer.html"}-->